package com.diuse.lib.dal.entity.asset;

import com.diuse.lib.dal.entity.BaseEntity;

import java.util.Date;

public class UserBookDo extends BaseEntity{
    private Integer id;

    private Integer userId;

    private Integer bookId;

    private Date submitGmt;

    private Boolean missed;

    private String location;

    private Integer merchantId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Date getSubmitGmt() {
        return submitGmt;
    }

    public void setSubmitGmt(Date submitGmt) {
        this.submitGmt = submitGmt;
    }

    public Boolean getMissed() {
        return missed;
    }

    public void setMissed(Boolean missed) {
        this.missed = missed;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }
}